<extend name="Public/base"/>
<block name="body">
<form class="J_ajaxForm" action="{:U('listorders')}" method="post">
    <div class="table_list">
       <table id="menus-table"  class="table table-striped table-bordered table-hover" >
        <thead>
          <tr>
            <th width="80">排序</th>
            <th width="50" class='hidden-480'>ID</th>
            <th>应用</th>
            <th  class="hidden-780">菜单名称</th>
            <th  class="hidden-480">显示</th>
            <th class="hidden-480">右侧菜单</th>
            <th>管理操作</th>
          </tr>
        </thead>
        {$categorys}
      </table>
    </div>
    <div class="form-actions">
    <button class="btn btn-primary ajax-post mr10" target-form="J_ajaxForm" type="submit"> 排序</button>
        
      </div>
  </form>


</block>


<block name="script">
 <link href="__JS__/treeTable/treeTable.css" rel="stylesheet" />
<script src="__JS__/treeTable/treeTable.js"></script> 

<script>

$(document).ready(function () {
	 $("#menus-table").treeTable({
		 
            indent: 20
        });
});


</script></block>